
#ifndef ACTION_CTRL_H
#define ACTION_CTRL_H
#include <Arduino.h>

void beep(bool);

void beepTimes( long);

void setBeepPin(int pin);

void setBeepTriggerLevel(int);

void pump(bool);
void pump1(bool );
void pump2(bool );

void togglePump();
 
void pumpTime(long second);

bool isPump();

void light(String color,bool on);

void blink(String color,long time);
void blink(String color,int frequecy,long time);

void closeRGB();

void setDisablePump(bool);

void setCanDisablePump(bool);

bool isDisablePump();
bool isBeep();
void closeBeep();
void setDisableLight(bool b);
void setDisableBeep(bool b);

void beepMS(int ms);

 

long getPumpTime();

void switchPump();
void switchRandomPump();

void pumpPauseTime(long time);

bool isPumpPause();
bool isPumpStop();

void setPumpPause(bool );
void setPumpStop(bool );




void pumpCounterplus();

long getPumpCounter();

void ctrlPump();

void canclePumpPause();
void ctrlLight();
void pumpTimeContinue(long time);

bool isPumpContinue();
void setPumpContinue(bool );

bool isClickButton();
void setClickButton(bool);

bool isNormal();
void setNormal(bool);

long getIntervalPumpTime();
long getIntervalPauseTime();
long getTotalPumpTime();

bool isOpenPump();







#endif